package com.gzhryc.common.sms;

import java.nio.charset.Charset;

import org.apache.commons.io.Charsets;

/**
 * 手机消息
 * @author apple
 *
 */
public class SmsMessage {

	protected String phone;
	protected String content;
	protected String templateKey;		//短信模板
	protected String sign;				//签名
	protected Charset charset = Charsets.UTF_8;
	protected String data;
	
	public SmsMessage(){}
	
	public SmsMessage(String phone,String content){
		this.phone = phone;
		this.content = content;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTemplateKey() {
		return templateKey;
	}

	public void setTemplateKey(String templateKey) {
		this.templateKey = templateKey;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public Charset getCharset() {
		return charset;
	}

	public void setCharset(Charset charset) {
		this.charset = charset;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}
}
